<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
     <link rel="stylesheet" href="./kmto/index/index.css">
     
  </head>
  <body>
    <button k_type="success" class="succ"  rediso>success</button>
    <button k_type="error">error</button>
    <button k_type="woring">woring</button>
    <button>btn</button>
    <script src="./kmto/index/index.js">  </script>
    <script>
      var btn = document.querySelector("button");
      var that = this;
      btn.addEventListener("click", handle, false);
      function handle() {
        that.$myfun.woring("2222");
      }
    </script>
  </body>
</html>
